<?php 
$sql = "SELECT
			 
			  d.title,
			  d.meta_description,
			  d.description,
			  d.meta_key
		  FROM
			  pages AS c,
			  page_description AS d
		  WHERE
			c.page_id = d.page_id
			AND
			d.lang_id = '".$_SESSION['lang_id']."'
			AND
			c.sef_url = 'about' 
			
		  ";
$result = query($sql);
$row = mysql_fetch_object($result);


head(sth($row->title),sth($row->meta_description),sth($row->meta_key));

?>



	<div id="topicons">
		<a class="icon home" href="<?=HTML_BASE?>"><span><?=__HOME?></span></a>
		<a class="icon about" href="<?=HTML_BASE.$_SESSION['lang']?>/about"><span><?=__ABOUT?></span></a>
		
		
		<?php 
				$sql = "SELECT
						c.photographers_id,
						c.image,
						c.order_number,
						
						d.title
						
					FROM
						photographers AS c,
						photographers_description AS d
					WHERE
					
						c.photographers_id = d.photographers_id
						
						AND
						
						d.lang_id = '".$_SESSION['lang_id']."'
						
						AND c.published
						
						ORDER BY c.order_number DESC
					  ";
				$result = query($sql);
			
				while ($row_p = mysql_fetch_object($result)) {
			?>
				<a href="<?=HTML_BASE.$_SESSION['lang']?>/photographer/<?=$row_p->photographers_id?>" class="photoicon"><span><?=$row_p->title?></span></a>
				
			<?php }?>
		
		
	</div>
	<div id="lefticons">
		
        <a href="<?=HTML_BASE?><?=$_SESSION['lang']?>/partners" class="icon partners"><span><?=__PARTNERS?></span></a>
		<a class="icon contacts" href="<?=HTML_BASE.$_SESSION['lang']?>/contacts"><span><?=__CONTACTS?></span></a>
        
        <a class="icon fearless" href="http://www.fearlessphotographers.com/"><span><?=__MEMBER_OF?></span></a>
        
	</div>
    
    
	<div id="pagecontent">

			
				
			
			<div id="contenttextfull">
				 <?=stripslashes($row->description)?>
			</div>
			
			
	
		</div>
  
	
	
<?php
foot();
?>